// mycomponent/diyBackGround/diyBackGround.js
const skinBehavior = require('../../utils/themeSkin/skinBehavior');
Component({
  behaviors: [skinBehavior],
  /**
   * 组件的属性列表
   */
  properties: {
    minHeight: {
      type: String,
      value: "348rpx"
    },
  },
  lifetimes: {
    attached() {
      // this.getData()
    }
  },
  /**
   * 组件的初始数据
   */
  data: {
    themeStyle: null
  },

  /**
   * 组件的方法列表
   */
  methods: {
    getData() {
      let urlStr = app.getNetAddresss("home-page.wxapp");
      app._getNetWork({
        url: urlStr,
        success: function (resdata) {
          var res = resdata.data;
          
        },
        fail: function (res) {
          console.log(res);
        }
      });
    }
  }
})